<template>
    <div class="page-index">
        <div class="video-wrapper">
            <div class="play-wrapper">
                <div class="flex-center-wrapper">
                    <div class="play-btn"></div>
                </div>
            </div>
            <div class="info-wrapper">
                <div class="title">《斯隆女士》 生不逢时的政治惊悚电影，被严重低估的年度好片</div>
            </div>
            <div class="right-wrapper">
                <div>
                    <div class="header-img">
                        <img class="header-pic" src="https://img.meituan.net/avatar/184cbf824ff0be5823c865227f092d34103715.jpg" alt="">
                    </div>
                    <div class="btn">
                        <div class="icon-btn">
                            <img src="../assets/images/z.png" alt="">
                        </div>
                    <div class="text">67</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style lang="less" scoped>
.page-index{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;

    .video-wrapper{
        position: relative;
        width: 100%;
        height: 100%;
        background-color: #eee;

        .play-wrapper{
            width: 100%;
            height: 100%;
            position: absolute;
            background: transparent;
            left: 0;
            top: 0;
            z-index: 10;

            .flex-center-wrapper{
                background: url(http://p1.meituan.net/movie/90e3e427beef4871c05906d77abb058517255.jpg) no-repeat;
                background-color: black;
                background-size: contain!important;
                background-position-x: center!important;
                background-position-y: center!important;

                display: flex;
                width: 100%;
                height: 100%;
                justify-content: center;
                align-items: center;

                .play-btn{
                    width: 60px;
                    height: 60px;
                    background-image: url("../assets/images/playIcon.png");
                    background-size: 100% 100%;
                }
            }
        }
        .info-wrapper{
            color: #fff;
            letter-spacing: 0;
            line-height: 24px;
            text-shadow: 0 0 3px rgb(0 0 0 / 30%);
            width: 282px;
            position: absolute;
            bottom: 71px;
            left: 15px;
            z-index: 100;

            .title{
                font-family: PingFangSC-Medium;
                font-size: 19px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                margin-bottom: 10px;
            }
        }
    }
}
</style>